projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df9aba
)
(sh-font-lock-keywords): Highlight \ only with non-alphanumeric char.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 20 Mar 1996 16:18:23 +0000
(16:18 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 20 Mar 1996 16:18:23 +0000
(16:18 +0000)
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 039dc470a16bb784dbe42f0b05b002ded9ff7c01..7ec52dcfcff7b78cf3ba632b3b048657eb36f2e4 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-526,7
+526,7
@@
See `sh-feature'.")
;; The next entry is only used for defining the others
(shell eval sh-append executable-font-lock-keywords
- '("\\\\
.
" 0 font-lock-string-face)
+ '("\\\\
[^A-Za-z0-9]
" 0 font-lock-string-face)
'("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1
font-lock-variable-name-face)))
"*Rules for highlighting shell scripts. See `sh-feature'.")